package com.mail.dubbo.api;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.mail.model.db.SmsHomeNewProduct;

import java.util.List;

public interface SmsHomeNewProductApi {

    void save(SmsHomeNewProduct newProduct);

    void deleteNewProduc(List<Long> ids);

    Page<SmsHomeNewProduct> getNewProducByPage(Long pageNum, Long pageSize, String productName, Integer recommendStatus);

    void updateNewProduct(Long id, Integer recommendStatus);

    void updatesortNewProduct(Long id, Integer sort);
}
